package com.chinasofti.demo;

public class SystemDemo {
    public static void main(String[] args) {

        System.out.println(System.currentTimeMillis());
        int arr[] = {1,2,3,4,5};
        int arr1[] = new int[10];
        //原数组、起始索引、目的地数组、目的地数组起始索引、个数
        System.arraycopy(arr,3,arr1,8,2);
        for (int i = 0; i < arr1.length; i++) {
            System.out.print(arr1[i]);
        }


        System.exit(0);
    }
}
